<!-- FAV_LINKS.TPL -->
<div class="containertable">

<h5 class="memberarea_caption">{$smarty.const.LA_MY_FAV}</h5>
<p style="background-color:white">{$smarty.const.LA_FAV_EXPLAINED} </p>
<div style="clear:both;height:50px;"></div>

{if $ads}
<table cellspacing="0" class="box" style="clear:both;">
<tr>
	<th width="30%">{$CATEGORY_URL} {$smarty.const.CATEGORY}</a></th>
	<th width="30%">{$AD_URL} {$smarty.const.TITLE} </a></a></th>
	<th width="10%">{$EXPIREDATE_URL} {$smarty.const.LA_AD_EXPIRE}</a></th>
	<th width="20%">{$smarty.const.LA_GRADE}</th>
	<th width="10%">{$PICTURE_URL} {$smarty.const.PICTURE_TEXT}</a></th>
</tr>			  


{foreach item=ad from=$ads}  
{if $ad.NB is even by 1}
	<tr class="alt">
{else}
	<tr>
{/if}
<td class="category">{$ad.CATEGORYNAME}</td>
<td class="pointer"><a href="{$ad.LINK}">
{if $ad.SPECIAL}<b>{/if}{$ad.TITLE|truncate:35:"...":true}{if $ad.SPECIAL}</b>{/if}</a></td>
<td>{$ad.EXPIREDATE}</td>
<td>{$ad.GRADE}</td>
<!-- <td bgcolor="{$ad.COLOR}">{$ad.e_3}</td> -->
<td>{$ad.IMAGEYESNO}</td></tr>
{/foreach} 

<tr>
<td colspan="7" align="center">
{if $prev_url} 
	<a href="{$prev_url}" class="button nextPrev">&lt; {$smarty.const.PREVIOUS_ADS} {$NUM_PER_PAGE}</a> 
{else}
	
{/if}


{if $next_url}	
	<a href="{$next_url}" class="button nextPrev">{$smarty.const.NEXT_ADS} {$NUM_PER_PAGE} &gt;</a> 
{else}	

{/if}
</td>
</tr>
</table>
{/if}

</div>
<!-- // FAV_LINKS.TPL -->